// 这个文件用于存放全局使用的常量
export const ZH = 'zh'
export const EN = 'en'

/** 前后台交互用以确认当前用户 */
export const TOKEN = "TOKEN";

/**
 * 接口根路径
 */
export const H5_BASE_PATH = "/keyBroadMusic";
/**
 * 域名
 */
export const DOMAIN = "http://localhost:9564";

const NOT_LOOP = {key:'0',value:'不循环'};
const SINGLE_LOOP = {key:'1',value:'单曲循环'};
const LIST_LOOP = {key:'2',value:'列表循环'};
// 定义演奏模式
export const PLAY_MODE = [NOT_LOOP,SINGLE_LOOP,LIST_LOOP];





//=========
// 乐器相关API
//=========
export const QUERY_PIANO_AUDIOS = H5_BASE_PATH + "/instrument/getPianoAudios";

//=========
// 歌曲相关API
//=========
export const QUERY_ALL_SONGS = H5_BASE_PATH + "/song/getAllSongs";
export const QUERY_SONG_BY_NAME = H5_BASE_PATH + "/song/findSongByName";
